/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.gerenciadorfinanceiro.ejb.session.interfaces;

import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author eduardo
 */
@Local
public interface OutcomeSessionLocal {

    public List<org.gerenciadorfinanceiro.ejb.entity.Outcome> getAllOutcomes(org.gerenciadorfinanceiro.ejb.entity.User u, int month, int year);
    public org.gerenciadorfinanceiro.ejb.entity.Outcome getOutcomeById(int id);

    public void addOutcome(org.gerenciadorfinanceiro.ejb.entity.Outcome o) throws org.gerenciadorfinanceiro.ejb.session.BusinessViolation;
    public void updateOutcome(org.gerenciadorfinanceiro.ejb.entity.Outcome o) throws org.gerenciadorfinanceiro.ejb.session.BusinessViolation;
    public void deleteOutcome(org.gerenciadorfinanceiro.ejb.entity.Outcome o) throws org.gerenciadorfinanceiro.ejb.session.BusinessViolation;
    
}
